package com.tepth.maintenancesystem.bean;

/**
 * Created by LHQ on 2016/11/24.
 */

public class HttpResult<T> {
    private String ResultCode;
    private String ResultMsg;

    private T Result;

    public String getResultCode() {
        return ResultCode;
    }

    public void setResultCode(String resultCode) {
        ResultCode = resultCode;
    }

    public String getResultMsg() {
        return ResultMsg;
    }

    public void setResultMsg(String resultMsg) {
        ResultMsg = resultMsg;
    }

    public T getResult() {
        return Result;
    }

    public void setResult(T result) {
        Result = result;
    }

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("ResultCode=" + ResultCode + " ResultMsg=" + ResultMsg);
        if (null != Result) {
            sb.append(" Result:" + Result.toString());
        }
        return sb.toString();
    }
}
